package com.ky.user.service;

import com.ky.common.vo.R;
import com.ky.user.entity.SmsLog;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wgz
 * @since 2024-06-17
 */
public interface SmsLogService extends IService<SmsLog> {
    /**
     * 发送注册验证码
     * @param phone
     * @return
     */
    R sendRegisterCode(String phone);
    /**
     * 发送登录验证码
     * @param phone
     * @return
     */
    R sendLoginCode(@RequestParam("phone") String phone);
}
